<#include "/jsp/common/head.html">
 <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>用户管理页面 >> 用户信息查看页面</span>
        </div>
        <div class="providerView">
            <p><strong>用户编号：</strong><span>${user.userCode! }</span></p>
            <p><strong>用户名称：</strong><span>${user.userName! }</span></p>
            <p><strong>用户头像：</strong><span><img src="${request.contextPath }/upload/${user.userImage! }"></span></p>
            <p><strong>用户性别：</strong>
            	<span>
            		<#if (user.gender==1)>男</#if>
					<#if (user.gender==2)>女</#if>
				</span>
			</p>
            <p><strong>出生日期：</strong><span>${user.birthday?datetime }</span></p>
            <p><strong>用户电话：</strong><span>${user.phone! }</span></p>
            <p><strong>用户地址：</strong><span>${user.address! }</span></p>
            <p><strong>用户角色：</strong><span>${user.userRoleName!}</span></p>
			<div class="providerAddBtn">
            	<input type="button" id="back" name="back" value="返回" >
				<input type="button" value="layer测试" onclick="testlayer()"/>            	
                  <script>
                    function testlayer() {
                    	//初体验
                    	//layer.alert('内容');
                    	//提示层
                    	//layer.msg('玩命提示中');                    	
                    	//询问框
                    	layer.confirm('您是如何看待前端开发？', {
                    	  btn: ['重要','奇葩'] //按钮
                    	}, function(){
                    	  layer.msg('的确很重要', {icon: 1});
                    	}, function(){
                    	  layer.msg('也可以这样', {
                    	    time: 2000, //2s后自动关闭
                    	    btn: ['明白了', '知道了']
                    	  });
                    	});
                    }
                    </script>
            </div>
        </div>
    </div>
</section>
<#include "/jsp/common/foot.html">
<script type="text/javascript" src="${request.contextPath }/js/userview.js"></script>